package com.example.springboothello_world.collection;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestCollection {

    @Value("${fileNameYml}")
    public String fileNameYml;

    @RequestMapping("hello")
    public String getValue(){
        return "hello world ".concat(fileNameYml);
    }
}
